<%-- 
    Document   : user
    Created on : Jan 9, 2015, 10:56:08 PM
    Author     : quangphuc
--%>

<jsp:include page="header.jsp"/>
<body>
    <jsp:include page="menutop.jsp"/>
    <div class="container-fluid">
        <div class="row-fluid">

            <!-- left menu starts -->
            <jsp:include page="leftmenu.jsp"/>
            <!-- left menu ends -->
            
            <div id="content" class="span10">
                <a class='btn btn-success' href='createUser.jsp'>
                    <i class='icon-edit icon-white'></i> Add New
                </a>
                <!-- content starts -->
                <table id="table" class="table table-striped table-bordered bootstrap-datatable">
                    <tr>
                        <th>Account</th>
                        <th>Email</th>
                        <th> Phone </th>
                        <th></th>
                    </tr>
                    <tbody id="body">

                    </tbody>
                </table>
            </div><!--/row-->
            <!-- content ends -->
        </div><!--/#content.span10-->
    </div><!--/fluid-row-->
</div>

<jsp:include page="footer.jsp"/>
<script src="lib/Contants.js" type="text/javascript"></script>
<script src="lib/menu.js" type="text/javascript"></script>
<script src="lib/user.js" type="text/javascript"></script>
<script>
    $(document).ready(function () 
    {       
        User.getAll();
    });
</script>
</body>

